build-against-shared-lpsolve
authorDebian LibreOffice Maintainers <debian-openoffice@lists.debian.org>
Thu, 8 Feb 2018 18:29:39 +0000 (18:29 +0000)
committerRene Engelhard <rene@debian.org>
Thu, 8 Feb 2018 18:29:39 +0000 (18:29 +0000)
Gbp-Pq: Name build-against-shared-lpsolve.diff

RepositoryExternal.mk
configure.ac

index 9105397ae2a8b69ecc0cc54ebe2e266ce27bb875..847a5b5ceb216ddf79c15e66463ab1968fc58e8f 100644 (file)
@@ -2426,6 +2426,7 @@ ifneq ($(SYSTEM_LPSOLVE),)
 
 define gb_LinkTarget__use_lpsolve
 $(call gb_LinkTarget_add_libs,$(1),-llpsolve55)
+$(call gb_LinkTarget_add_ldflags,$(1),-L/usr/lib/lp_solve -Wl$(COMMA)-rpath=/usr/lib/lp_solve)
 $(call gb_LinkTarget_add_defs,$(1),\
        -DSYSTEM_LPSOLVE \
 )
index fce1d4cba0a4d758b693c425c5279facc6d1ba21..5a5ea5d0dd32f0d4d65fb2d4283cd3d27dce62b3 100644 (file)
Binary files a/configure.ac and b/configure.ac differ